-
Notifications
You must be signed in to change notification settings - Fork 37
GenericConnectionHandler: uniform functions order and layout #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Memory usage change @ 20283aa
Click for full report table
Click for full report CSV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR reorganizes the GenericConnectionHandler.cpp file to improve code structure and maintainability by standardizing the order and layout of functions.
Key changes:
- Moved the
instantiate_handlerstatic function from bottom to top and implemented it inline (previously was just a forward declaration at the top) - Added section headers to clearly demarcate LOCAL MODULE FUNCTIONS, PUBLIC MEMBER FUNCTIONS, and PROTECTED MEMBER FUNCTIONS
- Relocated protected member functions (
updateConnectionState,update_handle*methods) to the bottom of the file under a dedicated section
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.